/* * * * * * * *
 * GENERAL STYLING
 */
 
h1 {
	color: #125533;
	padding: 13px 0 4px 0;
	font-size: 18pt;
	margin: 0;
}

h2 {
	color: #165c44;
	padding: 8px 0 3px 0;
	font-size: 12pt;
	margin: 0;
}


/* * * * * * * *
 * FORM ELEMENTS
 */

input[type=text],
input[type=password],
input[type=file],
textarea,
select {
	margin: 5px 0 0 0;
	padding: 4px;
	background: url(../img/text.gif) repeat-x;
	border: 1px solid #80e194;
	font-weight: bold;
	font-size: 8pt;
	-moz-border-radius: 5px;
	-khtml-border-radius: 5px;
	-webkit-border-radius: 5px;
}

select {
	padding: 0;
}
 
textarea {
	font-size:   8pt;
	width: 100%;
	height: 300px
}

textarea:focus,
input:focus,
input[type=button]:hover, input[type=submit]:hover,
.highlight,
select:focus {
	-moz-box-shadow: 0px 0px 10px #4eff00 !important;
	-khtml-box-shadow: 0px 0px 10px #4eff00 !important;
	-webkit-box-shadow: 0px 0px 10px #4eff00 !important;
	border: 1px inset #4eff00;
}

input[type=button],
input[type=submit] {
	padding: 5px 20px;
	background: url(../img/btn.gif) repeat-x;
	border: 1px solid #80e194;
	font-weight: bold;
	font-size: 8pt;
	-moz-border-radius: 5px;
	-khtml-border-radius: 5px;
	-webkit-border-radius: 5px;
}

input[type=button]:hover,
input[type=submit]:hover {
	border: 1px solid #65c579;
}

input[type=button][disabled],
input[type=submit][disabled],
input[type=text][disabled],
input[type=password][disabled],
input[type=file][disabled],
textarea[disabled],
select[disabled] {
	font-weight: bold;
	font-style: italic;
	color: #999999;
}

input[type=button][disabled]:hover,
input[type=submit][disabled]:hover {
	-moz-box-shadow: 0px 0px 0px transparent !important;
	-khtml-box-shadow: 0px 0px 0px transparent !important;
	-webkit-box-shadow: 0px 0px 0px transparent !important;
}


/* * * * * * * *
 * TABLES
 */

.infinity  { width: 100%; }
input.infinity { width: 97%; }

table.w100 { width: 100px; }
table.w200 { width: 200px; }
table.w300 { width: 300px; }
table.w400 { width: 400px; }
table.w500 { width: 500px; }
table.w600 { width: 600px; }
table.w700 { width: 700px; }
table, table.infinity { width: 100%; }

table tr td,
.table tr th.top { vertical-align: top; }

.table tr th {
	text-align: left;
	font-weight: bold;
	background: #dfffd1 url(../img/th.gif) bottom repeat-x; 
	padding: 2px 5px;
	vertical-align: bottom;
}

.table tr td {
	background: #fff url(../img/td.gif) bottom repeat-x;
	padding: 2px 5px 5px 5px;
	vertical-align: top;
	text-align: left !important;
	border-left: 1px solid #C3C3C3;
}

.table tr td:last-child {
	border-right: 1px solid #C3C3C3;
}

.table tr td table td,
.table tr td table td:last-child {
	border: 0;
	background: none;
}


/* * * * * * * *
 * MESSAGES
 */

.message {
	margin: 5px 0;
	-moz-border-radius: 10px !important;
	-khtml-border-radius: 5px !important;
	-webkit-border-radius: 5px !important;
	border-style: solid;
	border-width: 2px;
	padding: 4px 4px 4px 22px;
	color: red;
	font-weight: bold;
	padding-left: 25px;
	text-align: left;
}

.message > * {
	font-weight: bold;
	border-left-style: solid;
	border-left-width: 1px;
	padding-left: 5px;
}

.message * {
	margin: 0;
}

.message         { background: #FFF url(../img/msg_cross.png) left center no-repeat; }
.message.warning { background: #FFF url(../img/msg_warn.png) left center no-repeat; }
.message.success { background: #FFF url(../img/msg_tick.png) left center no-repeat; }
.message.info    { background: #FFF url(../img/msg_info.png) left center no-repeat; }
.message.question{ background: #FFF url(../img/msg_question.png) left center no-repeat; }

.message, .message.error > *, .message.error { border-color: #b60000; color: #b60000; }
.message.warning > *, .message.warning       { border-color: #ffc600; color: #ffc600; }
.message.success > *, .message.success       { border-color: #009b1d; color: #009b1d; }
.message.info > *, .message.info             { border-color: #2460d2; color: #2460d2; }
.message.question > *, .message.question     { border-color: #1c56cd; color: #1c56cd; }


/* * * * * * * *
 * HYPERLINKS
 */
a img { border: 0; vertical-align: middle; }
a:link, a:visited { color: #466d36; text-decoration: underline; font-weight: bold; }
a:hover, a:active { color: #6bb849; }
a.info:link,
a.info:visited { text-decoration: none !important; border-bottom: 1px dashed #466d36; padding-bottom: -2px; }
a.info:hover, a.info:active { border-color: #6bb849; }
